* {
    padding: 0;
    margin: 0;
}
body {
    background-color: #f3f5f7;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
/* 清除浮动 */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    *zoom:1;
}

.w {
    width: 1200px;
    margin: auto;
}
/* 头部 */
.header {
    height: 42px;
    margin:30px auto;
    /* background-color: pink; */
}
.header .logo {
    float: left;
    width: 198px;
    height: 42px;
}
.header .nav {
    float: left;
    height: 42px;
    margin-left:60px;
}
.nav ul li {
    float: left;
    margin: 0 15px;
}
.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;
}
.nav li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff
}
.header .search {
    float: left;
    width: 412px;
    height: 42px;
    margin-left: 70px;
}
.header .search input {
    float: left;
    width: 342px;
    height: 40px;
    border: 1px solid #00a4ff;
    font-size: 14px;
    color: #bfbfbf;
    padding-left: 18px;
    border-right: 0;
}
.header .search button {
    float: left;
    width: 50px;
    height: 42px;
    background: #00a4ff;
    border: 0;
    background: url(images/btn.png);
}
.header .user {
    float: left;
    height: 42px;
    margin-left: 55px;
    font-size: 14px;
    color: #666666;
}
.header .user img {
    vertical-align: middle;
}
/* banner部分 */
.banner {
    height: 420px;
    background-color: #1c036c;
}
.banner .heart {
    height: 420px;
    background: url(images/banner.png) no-repeat top center;
}
.heart .left {
    float: left;
    width: 190px;
    height: 420px;
    background: rgba(0,0,0,0.3);
}
.heart .right {
    float: right;
    margin-top: 50px;
    width: 230px;
    height: 300px;
    background-color: #fff;
}
.left ul {
    margin: 20px 20px;
}
.left ul li {
    height: 45px;
}
.left ul li a {
    font-size: 14px;
    color: #fff
}
.left ul li a:hover {
    color: #00b4ff;
}
.left ul li a span {
    float: right;
}
.right h4 {
    height: 48px;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: #ffffff;
    background-color: #9bceea;
}
.right ul {
    margin: 20px 0 0 20px;
}
.right ul li {
    height: 50px;
    width: 193px;
    border-bottom: 1px solid #efefef;
    margin-bottom: 6px;
    padding-bottom: 5px;
}
.right ul li h5 {

    font-size: 16px;
    color: #4e4e4e;
}
.right ul li p {

    font-size: 12px;
    color: #a5a5a5;
}
.right a {
    display: block;
    width: 193px;
    height: 38px;
    line-height:38px;
    text-align: center;
    border: 2px solid #22b0ff;
    margin-left: 18px;
    font-size: 16px;
    color: #00a4ff;
}

/* 精品推荐部分 */
.goods {
    height: 60px;
    margin-top: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 3px 3px rgba(0,0,0,0.1);
}
.goods h5 {
    float: left;
    line-height: 60px;
    padding-left: 35px;
    font-size: 16px;
    color: #00a4ff;
}
.goods .g-middle ul {
    float: left;
    margin-left: 8px;
}
.goods .g-middle ul li  {
    float: left;
    margin-left: 33px;
}
.goods .g-middle ul li img {
    width: 100%;
}
.goods .g-middle ul li a {
    height: 17px;
    border-left: 2px solid #bfbfbf;
    padding-left: 35px;
    text-align: center;
    line-height: 60px;
    font-size: 16px;
    color: #050505;
}
.goods .g-middle ul li a:hover {
    color: #00a4ff;
}
.goods .fix {
    float: right;
    line-height: 60px;
    margin-right: 25px;
    font-size:14px;
    color: #00a4ff;
    font-weight: 400;
}

/* 精品推荐内容部分 */
.box {
    margin-top: 35px;
}
.box .box1 {
    height: 42px;
}
.box .box1 h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}
.box .box1 a {
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin: 10px 13px 0 0;
}
.box .box2 {
    width: 1250px;
    height: 555px;
}

.box .box2 ul li{
    position: relative;
    float: left;
    margin-right: 14px;
    margin-bottom: 14px;
    width: 228px;
    height: 271px;
    background-color: #ffffff;
    transition: 0.3s;
}
.box .box2 ul li:hover {
    box-shadow: 0px 5px 9px 4px rgb(2 2 2 / 13%);
}

/* 子代选择器，只选择一代的子元素 */
.box .box2 ul li > img {
    width: 100%;
}
.box .box2 ul li em {
    position: absolute;
    top: 4px;
    right: -4px;
}
.box2 ul li h4 {
    width: 190px;
    height: 33px;
    margin: 20px 18px 25px 20px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}
.box2 ul li p {
    margin-left: 20px;
    font-size: 12px;
    color: #999999;
}
.box2 ul li p span {
    color: #ff7c2d;
}

/* 编程入门部分 */
.program {
    height: 440px;
    margin-top: 40px;
}
.program .head {
    height: 42px;
    margin-bottom: 10px;
    /* background-color: pink; */
}
.program .head h4 {
    float: left;
    line-height: 42px;
    font-size: 20px;
    color: #494949;
}
.program .head ul {
    float: left;
    margin-left: 350px;
}
.program .head ul li {
    float: left;
    margin-right: 70px;
}
.program .head ul li a {
    line-height: 42px;
    font-size: 16px;
    color: #868686;
}
.program .head a {
    float: right;
    line-height: 42px;
    /* margin-right: 30px; */
    font-size: 12px;
    color: #a5a5a5;
}
.program .head ul li a:hover,
.program .head a:hover{
    color: #00a4ff;
}

.program .p-box .heart-left {
    float: left;
    margin-right: 14px;
    width: 229px;
    height: 390px;
}
.program .p-box .top {
    float: left;
    margin-bottom: 23px;
    width: 950px;
    height: 100px;
}
.program .p-box .heart-bottom {
    float: right;
    margin-top: 14px;
    width: 957px;
    height: 274px;
}
.program .p-box .heart-bottom ul li {
    float: left;
    width: 228px;
    height: 274px;
    background-color: #ffffff;
    margin-right: 15px;
    transition: 0.3s;
}
.program .p-box .heart-bottom ul li:hover {
    box-shadow: 0px 5px 9px 4px rgb(2 2 2 / 13%);


}
.program .p-box .heart-bottom ul li img {
    width: 100%;
}
.program .p-box .heart-bottom .last {
    margin: 0;
}
.program ul li h4 {
    height: 35px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
    margin: 20px 18px 23px 20px;
}
.program ul li p {
    margin-left: 20px;
    font-size: 12px;
    color: #999999;
    margin-bottom: 28px;
}
.program ul li p span {
    color: #ff7c2d;
}

/* 机器学习内容 */
.robot {
    height: 323px;
}
.robot .robot-fix {
    margin-left: 331px;
}
.robot .content {
    height: 269px;
}
.robot .content ul {
    margin-top: 10px;
}
.robot .content ul li {
    float: left;
    width: 227px;
    height: 271px;
    margin-right: 15px;
    background-color: #ffffff;
    transition: 0.3s;
}
.robot .content ul li:hover {
    box-shadow: 0px 5px 9px 4px rgb(2 2 2 / 13%);

}
.robot .content ul li img {
    width: 100%;
}
.robot .content .last {
    margin: 0;
}

/* 前端开发工程师部分 */
.web {
    margin-top: 37px;
}
.web .w-head {
    height: 42px;
    /* background-color: pink; */
    line-height: 42px;
}
.w-head h4{
    float: left;
    font-size: 20px;
    color: #494949;
}
.w-head .four {
    float: left;
    margin-left: 290px
}
.w-head .four li {
    float: left;
    margin-right: 70px;
}
.w-head .four li a {
    font-size: 16px;
    color: #868686;
}
.w-head .four li a:hover {
    color: #00a4ff;
}
.all {
    float: right;
    margin-right: 32px;
    font-size: 12px;
    color: #a5a5a5;
}

.web .wbox {
    height: 269px;
}
.web .wbox ul {
    margin-top: 10px;
}
.web .wbox ul li {
    float: left;
    width: 227px;
    height: 271px;
    margin-right: 15px;
    background-color: #ffffff;
    transition: 0.3s;
}
.web .wbox ul li:hover {
    box-shadow: 0px 5px 9px 4px rgb(2 2 2 / 13%);
}
.web .wbox ul li img {
    width: 100%;
}
.web .wbox .last {
    margin: 0;
}
.web ul li h4 {
    height: 35px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
    margin: 20px 18px 23px 20px;
}
.web ul li p {
    margin-left: 20px;
    font-size: 12px;
    color: #999999;
    margin-bottom: 28px;
}
.web ul li p span {
    color: #ff7c2d;
}

/* 底部区域 */
.footer {
    height: 417px;
    background-color: #ffffff;
    margin-top: 65px;
}
.footer .f-heart {
    height: 417px;
    /* background-color: pink; */
}
.f-heart .copyright {
    float: left;
    margin-left:20px;
}
.copyright img {
    padding-top: 33px;
}
.copyright p {
    font-size: 12px;
    color:  #666666;
    margin: 26px 0 16px 0;
}
.copyright a{
    display: block;
    width: 118px;
    height: 34px;
    border: 1px solid #00a4ff;
    font-size: 16px;
    color: #00a4ff;
    text-align: center;
    line-height: 34px;
}
.links  {
    float: right;
    margin: 35px 32px 0 0;
}
.links dl {
    float: right;
}
.links dl dt {
    font-size: 16px;
    color: #333333;
    margin-bottom: 14px;
}
.links dl dd a{
    font-size: 12px;
    color: #333333;
}
.links dl dd a:hover {
    color: skyblue;
}
.links .one{
    margin-left: 123px;
}
.links .two{
    margin-left: 145px;
}
